#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
void my_strcpy(char* dest, const char* src)
{
	while (*dest++ = *src++)
	{
		;
	}
	*dest = '\0';
}
int main()
{
	char arr1[15] = "thanksbit";
	char arr2[15] = { 0 };

	my_strcpy(arr2, arr1);

	printf("%s", arr2);
	return 0;
}